import React, { FC } from "react"
import styles from "./QuestionCard.module.scss"

type PropsType = {
  _id: string
  title: string
  isPublished: boolean
  isStar: boolean
  answerCount: number
  createAt: string
}

const QuestionCart: FC<PropsType> = (props: PropsType) => {
  const { _id, title, isPublished, isStar, answerCount, createAt } = props
  return (
    <div className={styles.container}>
      <div className={styles.title}>
        <div className={styles.left}>
          <a href="#"></a>
        </div>
        <div className={styles.right}></div>
      </div>
      <div className={styles["button-container"]}></div>
    </div>
  )
}
export default QuestionCart
